package com.zhen.aikan.service;

import com.zhen.aikan.entity.History;
import com.baomidou.mybatisplus.extension.service.IService;
import com.zhen.aikan.vo.HistoryVo;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author lijiazhen
 * @since 2023-09-11
 */
public interface IHistoryService extends IService<History> {

    boolean addHistory(History history);

    List<HistoryVo> getHistoryByUserId(String userId);
}
